﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace ChinaAdd.Models
{
    [Table("ProvinceCityChina")]
    public class ProvinceCityChina
    {
        [Key]
        public long AreaCode { get; set; }
        public long ParentId { get; set; }
        [MaxLength(50)]
        public string AreaName { get; set; }
        [MaxLength(50)]
        public string Province { get; set; }
        [MaxLength(50)]
        public string City { get; set; }
        [MaxLength(50)]
        public string Area { get; set; }
        [MaxLength(50)]
        public string Town { get; set; }
        [MaxLength(50)]
        public string Village { get; set; }
    }
}
